import React from 'react';

export default class BaseInfo extends React.Component {

  constructor(props) {
    super(props);
  }

  render() {
  	if(this.props.target==this.props.name) {
      return this.props.children;
    } else
      return null;
  }
}